﻿html
{
    height: 100%;   
}
body 
{
    text-align: center;
    background-image: url(../Images/Layouts/ModernLayout/sandwich.png), url(../Images/Layouts/ModernLayout/sandwich2.png);
    background-position:bottom left, bottom right;
    background-repeat: no-repeat, no-repeat;
    background-attachment:fixed, fixed;
    background-color: #eeeae0;
    height: 100%;
}
ul
{
    margin-left: 40px;
}
a, .PseudoLink
{
    color: rgb(163,34,19);
    text-decoration: underline;
}

nav select
{
    margin-right: 2px;
}
.ClearFix
{
    width: 100%;
    clear: both;
}
.GlassBorderThin
{
    border-radius: 10px;
    background-color: rgb(0, 80, 0);   
    padding: 2px;
}
.GlassBorderThick
{
    border-radius: 10px;
    background-color: rgb(220, 110, 0);   
    padding: 4px;
}
#PageHeader
{
    border-bottom-left-radius: 15px;
    border-bottom-right-radius: 15px;
    color:White;
    background-color: rgb(220, 110, 0); 
    width: 100%;
}
#Banner, #PageTitle
{
    width: 50%;
}
#Banner
{
    float: left;
}
#PageTitle
{
    float: right;
    font-size: 2.5em;
    text-align: center;
    color: #A32213;
    text-shadow: 2px 1px 0px White;
}
#Wrapper
{
    /*border: 5px solid;
    border-color: rgb(166, 47, 0);*/
    /*border-color: rgb(240, 200, 0);*/
    margin: 0 auto;
    padding-left: 25px;
    padding-right: 25px;
    padding-bottom: 5px;
    width: 850px;
    min-height: 100%;
    text-align: left;
}
#ContentWrapper
{
    border-radius: 10px;
    background-color: White;
    position: relative;
    padding: 5px;
}

#searchPage a
{
    text-decoration: none;
    color: #770000;
}

#recipeTitle a
{
    text-decoration: none;
    color: #770000;
}

#reviewer a, #replier a
{
    text-decoration: none;
}

#pager
{
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
    margin-left: -6px;
    margin-bottom: -5px;
    padding-left: 5px;
    width: 100.85%;
    height:20px;
    font-size:large;
    background-color:rgb(220, 110, 0);
    position: relative;
     
}

#pager a
{
    text-decoration: none;
    margin-right: 5px;
    padding:0px 5px 1px 5px;
    color: White;
    float:right;
}

#pager a:hover
{
    background-color: White;
    color: rgb(220, 110, 0);
}

.CRUDbutton a, .CRUDbutton INPUT
{
    border-radius: 5px ;
    text-decoration: none;
    background: none;
    color:white;
    background-color: rgb(166,47,0);
    padding:3px;
    margin:5px;
    box-shadow: 1px 2.5px 1px #888;
    font-weight:bold;
}

.CRUDbutton a:hover, .CRUDbutton INPUT:hover
{
    cursor:pointer;
    background-color: rgb(134, 33, 0);
}
.CRUDbutton a:active, .CRUDbutton INPUT:active
{
    background-color: rgb(144, 43, 0);
    box-shadow: none;
}


/*All .thumbnail is for pop up enlarge image*/
.thumbnail{
position: relative;
z-index: 0;
}

.thumbnail:hover{
background-color: transparent;
z-index: 50;
}

.thumbnail span{ /*CSS for enlarged image*/
position: absolute;
background-color: white;
padding: 5px;
left: -1000px;
border: 1px solid gray;
visibility: hidden;
color: black;
text-decoration: none;
}

.thumbnail span img{ /*CSS for enlarged image*/
border-width: 0;
padding: 2px;
}

.thumbnail:hover span{ /*CSS for enlarged image on hover*/
visibility: visible;
top: 25px;
left: -75px; /*position where enlarged image should offset horizontally */
}

#allRecipes a
{
    text-decoration: none;
}

#sidebar {
    position:relative;
    height:30px;
    font-size:14px;
    margin: 0 auto;
    background-image: url(../Images/Layouts/ModernLayout/NavBackground.png);
    background-repeat: repeat-x;
    border-radius: 10px;
    text-align: center;
    line-height: 30px;
    z-index: 999;
}
 
#sidebar ul {
    display: inline;
}
 
#sidebar ul li {
    display: inline-block;
    padding: 0px 10px;
    position:relative;
    list-style: none;
}
#sidebar ul li a {
    display: block;
	font-weight: bold;
    text-decoration: none;
    color: white;
    font-size: 20px;
    text-shadow: 0px 1px 0px rgba(0, 0, 0, .5);
}

#sidebar ul li a:hover {
    color: #009900;
}
 
#sidebar ul li ul {
    display: none;
}
 
#sidebar ul li:hover ul {
    display:block;
    position:absolute;
    left:0;
}

#sidebar ul li:hover ul li a 
{
    margin-left:-42px;
    color: #007700;
    font-size: 17px;
    width: 150px;
    border-top: 1px solid rgb(0, 80, 0);
    border-left: 2px solid rgb(0, 80, 0);
    border-right: 2px solid rgb(0, 80, 0);
    border-bottom: 1px solid rgb(0, 80, 0);
    text-align: center;
    background-color: #fafafa;
    text-shadow: none;
}
 
#sidebar ul li:hover ul li a:hover {
    color: #fafafa;
    background-color: #009900;
}

#sidebar ul li:hover ul li ul {
    display: none;
}

#sidebar ul li:hover ul li:hover ul{
    display:block;
    position:absolute;
    left:0;
    z-index: 1000;
    margin-left: 153px;
    margin-top: -32px;
}